
class PromotionsController < ApplicationController

  def index
    @promotions = SalesPromotion.where(actived: true).limit 10
  end

  def show
    @promotion = SalesPromotion.find params[:id]
  end

end

